package Genericity_etc.Exer.Student_Exer;

/**
 * @author Jimmy Zhan WORKSTATION
 * @date 2023/3/24 16:32
 * 说明：
 */

public class StudentTest {
    public static void main(String[] args) {
        Student<String> s1 = new Student<>("Tom", "良好");
        Student<Double> s2 = new Student<>("Jerry", 87.5); // 自动装箱
        Student<Character> s3 = new Student<>("Jimmy", 'A');// 自动装箱

        System.out.println(s1);
        System.out.println(s2);
        System.out.println(s3);
    }
}
